package org.sanm.domain.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.sanm.domain.order.model.Order;
import org.sanm.domain.order.model.OrderListRes;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    List<OrderListRes> list(
            Integer pageIndex,
            Integer pageSize,
            String no,
            String projectName,
            String goodsName,
            String companyName,
            String startDate,
            String endDate
            );

    Integer count(
            Integer pageIndex,
            Integer pageSize,
            String no,
            String projectName,
            String goodsName,
            String companyName,
            String startDate,
            String endDate
    );
}
